/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package elaborate.tag_analysis.client.actions.ui.multiplefileselector;

import java.io.File;
import javax.swing.JFileChooser;

/**
 *
 * @author lendle
 */
public class MultipleFileSelectionConfEntry {

    private String id;
    private String displayName;
    private File initialDirectory;
    private File lastSelectedFile;
    private JFileChooser fileChooser;
    private boolean save;

    /**
     * Get the value of save
     *
     * @return the value of save
     */
    public boolean isSave() {
        return save;
    }

    /**
     * Set the value of save
     *
     * @param save new value of save
     */
    public void setSave(boolean save) {
        this.save = save;
    }


    public MultipleFileSelectionConfEntry() {
        this.fileChooser=new JFileChooser(".");
    }
    
    /**
     * Get the value of fileChooser
     *
     * @return the value of fileChooser
     */
    public JFileChooser getFileChooser() {
        return fileChooser;
    }

    /**
     * Set the value of fileChooser
     *
     * @param fileChooser new value of fileChooser
     */
    public void setFileChooser(JFileChooser fileChooser) {
        this.fileChooser = fileChooser;
    }


    /**
     * Get the value of lastSelectedFile
     *
     * @return the value of lastSelectedFile
     */
    public File getLastSelectedFile() {
        return lastSelectedFile;
    }

    /**
     * Set the value of lastSelectedFile
     *
     * @param lastSelectedFile new value of lastSelectedFile
     */
    public void setLastSelectedFile(File lastSelectedFile) {
        this.lastSelectedFile = lastSelectedFile;
    }


    /**
     * Get the value of initialDirectory
     *
     * @return the value of initialDirectory
     */
    public File getInitialDirectory() {
        return initialDirectory;
    }

    /**
     * Set the value of initialDirectory
     *
     * @param initialDirectory new value of initialDirectory
     */
    public void setInitialDirectory(File initialDirectory) {
        this.fileChooser.setCurrentDirectory(initialDirectory);
        this.initialDirectory = initialDirectory;
    }


    /**
     * Get the value of displayName
     *
     * @return the value of displayName
     */
    public String getDisplayName() {
        return displayName;
    }

    /**
     * Set the value of displayName
     *
     * @param displayName new value of displayName
     */
    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }


    /**
     * Get the value of id
     *
     * @return the value of id
     */
    public String getId() {
        return id;
    }

    /**
     * Set the value of id
     *
     * @param id new value of id
     */
    public void setId(String id) {
        this.id = id;
    }

}
